package com.zttek.photosShareProject.common.solr;

import java.util.Date;

/**
 *
 * @author Y
 * @since 2017-08-14
 */
public class UserDoc {

    private static final long serialVersionUID = 22L;

    /**
     * default 1, 0 for invalid
     */
	private Integer valid;
	private Long id;
	private String account;
	private String username;
    /**
     * default 1, 0 for ban
     */
	private Integer isShare;

	public Integer getValid() {
		return valid;
	}

	public void setValid(Integer valid) {
		this.valid = valid;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Integer getIsShare() {
		return isShare;
	}

	public void setIsShare(Integer isShare) {
		this.isShare = isShare;
	}


	@Override
	public String toString() {
		return "User{valid=" + valid +
			", id=" + id +
			", account=" + account +
			", username=" + username +
			", isShare=" + isShare +
			"}";
	}
}
